package com.example.dao.siyunCouponsDao;

import com.example.pojo.siyunCouponsPojo.CouponsUsed;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: 杨佳欣
 * @Description: TODO
 * @DateTime: 2022/11/5 9:10
 * 用户优惠券使用记录表Dao层
 **/

@Mapper
@Repository
public interface CouponsUsedDao {
    //用户优惠券使用记录表全查
    public List<CouponsUsed> getCouponsUsedAll();
    //用户优惠券使用记录表模糊查
    public List<CouponsUsed> getCouponsUsedFuzzyCheck(CouponsUsed couponsUsed);
    //根据用户ID查询 用户优惠券使用记录表 单条数据
    public CouponsUsed getCouponsUsedByUserId(String userId);
}
